import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    userState: 0
  },
  mutations: {
    // setUserState(state) {
    //   // state.userState = state.userState
    // }
  },
  actions: {},
  modules: {},
  getter: {
    getUserState(state) {
      state.userState
    }
  }
})
